<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>

<f:view> 

	<html>
		<head>
			<title>
				<h:outputText value = "ProjectTrack-Inbox"/>
			</title>
			
			<link	rel = "stylesheet" 	
					type = "text/css"
					href = "<%=path %>/stylesheet.css"/>
					
		</head>
		<body class = "page-background">
		<jsp:include page="/includes/header.jsp" />
		
		<h:form>
			<h:panelGrid	headerClass = "page-header"
							styleClass = "table-background"
							columns = "1"
							cellpadding = "5">
							
				<f:facet name = "header">
					<h:outputText	value = "Inbox - approve or reject projects" />				
				</f:facet>
				
				<h:outputText value = "Application messages"/>
				
				<h:panelGrid	columns = '6'
								cellpadding = "3"
								styleClass = "table-background"
								rowClasses = "table-odd-row, table-even-row">
					
					<h:commandLink	styleClass = "table-header">
						<h:outputText	value = "Project name"/>
					</h:commandLink>
					<h:commandLink	styleClass = "table-header">
						<h:outputText	value = "Type"/>
					</h:commandLink>
					<h:commandLink	styleClass = "table-header">
						<h:outputText	value = "Status"/>
					</h:commandLink>
					<h:panelGroup />
					<h:panelGroup />
					<h:panelGroup />
					
					<h:outputText	value = "Project1"/>
					<h:outputText	value = "Type1"/>
					<h:outputText	value = "Proposal"/>
					<h:commandLink	action = "approve">
						<h:outputText	value = "Approve"/>
					</h:commandLink>
					<h:commandLink	action = "reject">
					<h:outputText	value = "Reject"/>
					</h:commandLink>
					<h:commandLink	action = "details">
					<h:outputText	value = "Details"/>
					</h:commandLink>
					
					<h:outputText	value = "Project2"/>
					<h:outputText	value = "Type2"/>
					<h:outputText	value = "Planning"/>
					<h:commandLink	action = "approve">
					<h:outputText	value = "Approve"/>
					</h:commandLink>
					<h:commandLink	action = "reject">
					<h:outputText	value = "Reject"/>
					</h:commandLink>
					<h:commandLink	action = "details">
					<h:outputText	value = "Details"/>				
					</h:commandLink>
				
				</h:panelGrid>				
							
			</h:panelGrid>		
		
		</h:form>					
		
		</body>
		
	</html>
	
</f:view>